﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace LibrarySync2.Business.Extensions
{
    internal static class FileInfoExtensions
    {
        private const string MediaFileExtensions = ".mkv|.avi|.mpg|.mpeg|.mov";

        public static bool IsMediaFile(this FileInfo fileInfo)
        {
            return MediaFileExtensions.Contains(fileInfo.Extension);
        }
    }
}
